﻿/**********************************天使物流*******************************************
* 功能描述:结算管理-付款管理
* 作者:石锦涛
* 时间:2022-01-12
* 
**********************************天使物流*******************************************/
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using TianShiProject.Models.Common;

namespace TianShiProject.Models.SettleAccounts.PaymentApplys
{
    public interface IPaymentApplyReposiyory
    {
        /// <summary>
        /// 付款分页显示
        /// </summary>
        /// <returns></returns>
        Task<PageResponse<PaymentApplyDto>> GetPayment(string tilet, string times,int? state,string name, int pageindex = 1, int pagesize = 5);
        /// <summary>
        ///  付款逻辑删除
        /// </summary>
        /// <returns></returns>
        Task<PageResponse<PaymentApplyDto>> DeletePayment(int Id);
        /// <summary>
        /// 修改付款
        /// </summary>
        /// <param name="newInput"></param>
        /// <returns></returns>
        Task<PageResponse<int>> UpdatePayment(PaymentApplyDto newSales);
        /// <summary>
        /// 新增付款
        /// </summary>
        /// <param name="newInput"></param>
        /// <returns></returns>
        Task<PageResponse<int>> PostPayment(PaymentApplyDto newSales);
        /// <summary>
        /// 批量逻辑删除付款
        /// </summary>
        /// <param name="Id"></param>
        /// <returns></returns>
        Task<PageResponse<PaymentApplyDto>> DeletePaymentMent(string Id);
    }
}
